package com.study.gank.mvp.contract

import com.study.gank.bean.BaseResult
import com.study.gank.bean.GankGoods
import io.reactivex.Observable

interface GankGoodsContract {
    interface View {
        fun onShowData(datas: List<GankGoods>)
    }

    interface Model {
        fun getData(page: Int, type: String): Observable<BaseResult<List<GankGoods>>>
    }

    interface Presenter {
        fun getdata(page: Int, type: String)
    }
}